package edu.suda.xsap.mapper;

import edu.suda.xsap.entity.RechargeRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RechargeRecordMapeer {
    List<RechargeRecord> findAll();
    RechargeRecord findById(Integer id);
    List<RechargeRecord> findByLimit(@Param("limit") Integer limit, @Param("offset") Integer offset);
    Integer findCount();
    void save(RechargeRecord rechargeRecord);
}
